package com.zhengb.algorithmdemo.leetcode.tree;

/**
 * @author zhengbo
 * @date 2020/3/10
 */
public class TreeNode {

    int val;

    TreeNode left;

    TreeNode right;

    TreeNode(int x) {
        val = x;
    }

    @Override
    public String toString() {
        return "TreeNode{" +
                "val=" + val +
                ", left=" + left +
                ", right=" + right +
                '}';
    }


}
